package controller

import (
	"blog/dao"
	"github.com/julienschmidt/httprouter"
	"net/http"
)

//文章评论
func CommentHandle(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
	dao.CommonAction(r, w)
	var d = dao.Return{Error: 0, Message: "success", Data: nil}
	err2 := d.ResponseJson(w)
	if err2 != nil {
		dao.LogError(err2)
	}
}
